package com.example.yichuangyun.model.company;

import java.util.ArrayList;
import java.util.List;

/**
 * 经营信息
 */
public class ManageInfoDataModel {
    private String title;
    private int count;
    private boolean isOpen;
    /**
     * 行政许可
     */
    private List<ManageInfoModel> licenseInfos = new ArrayList<>();
    /**
     * 税务评级
     */
    private List<ManageInfoModel> payTaxes = new ArrayList<>();
    /**
     * 一般纳税人
     */
    private List<ManageInfoModel> generalTaxpayers = new ArrayList<>();
    /**
     * 资质证书
     */
    private List<ManageInfoModel> certificates = new ArrayList<>();

    public ManageInfoDataModel(String title, int count, boolean isOpen) {
        this.title = title;
        this.count = count;
        this.isOpen = isOpen;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public boolean isOpen() {
        return isOpen;
    }

    public void setOpen(boolean open) {
        isOpen = open;
    }

    public List<ManageInfoModel> getLicenseInfos() {
        return licenseInfos;
    }

    public void setLicenseInfos(List<ManageInfoModel> licenseInfos) {
        this.licenseInfos = licenseInfos;
    }

    public List<ManageInfoModel> getPayTaxes() {
        return payTaxes;
    }

    public void setPayTaxes(List<ManageInfoModel> payTaxes) {
        this.payTaxes = payTaxes;
    }

    public List<ManageInfoModel> getGeneralTaxpayers() {
        return generalTaxpayers;
    }

    public void setGeneralTaxpayers(List<ManageInfoModel> generalTaxpayers) {
        this.generalTaxpayers = generalTaxpayers;
    }

    public List<ManageInfoModel> getCertificates() {
        return certificates;
    }

    public void setCertificates(List<ManageInfoModel> certificates) {
        this.certificates = certificates;
    }

    public static class ManageInfoModel {

        /**
         * 许可证名称/纳税人名称
         */
        private String name;
        /**
         * 评价年度
         */
        private String year;
        /**
         * 纳税人识别号
         */
        private String taxNum;
        /**
         * 主管税务机关
         */
        private String manageOrgan;
        /**
         * 纳税人资格类型
         */
        private String qualification;
        /**
         * 认定日期
         */
        private String judgeDate;
        /**
         * 许可证编号
         */
        private String number;
        /**
         * 有效期自
         */
        private String startDate;
        /**
         * 有效期至
         */
        private String endDate;
        /**
         * 许可机关
         */
        private String department;
        /**
         * 来源
         */
        private String sourceDepartment;
        /**
         * 证书名称
         */
        private String licenseName;
        /**
         * 证书编号
         */
        private String registerNo;
        /**
         * 状态
         */
        private String state;
        /**
         * 证书类型
         */
        private String type;
        /**
         * 发证日期
         */
        private String validStart;
        /**
         * 有效期至
         */
        private String validEnd;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getYear() {
            return year;
        }

        public void setYear(String year) {
            this.year = year;
        }

        public String getTaxNum() {
            return taxNum;
        }

        public void setTaxNum(String taxNum) {
            this.taxNum = taxNum;
        }

        public String getManageOrgan() {
            return manageOrgan;
        }

        public void setManageOrgan(String manageOrgan) {
            this.manageOrgan = manageOrgan;
        }

        public String getQualification() {
            return qualification;
        }

        public void setQualification(String qualification) {
            this.qualification = qualification;
        }

        public String getJudgeDate() {
            return judgeDate;
        }

        public void setJudgeDate(String judgeDate) {
            this.judgeDate = judgeDate;
        }

        public String getNumber() {
            return number;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        public String getStartDate() {
            return startDate;
        }

        public void setStartDate(String startDate) {
            this.startDate = startDate;
        }

        public String getEndDate() {
            return endDate;
        }

        public void setEndDate(String endDate) {
            this.endDate = endDate;
        }

        public String getDepartment() {
            return department;
        }

        public void setDepartment(String department) {
            this.department = department;
        }

        public String getSourceDepartment() {
            return sourceDepartment;
        }

        public void setSourceDepartment(String sourceDepartment) {
            this.sourceDepartment = sourceDepartment;
        }

        public String getLicenseName() {
            return licenseName;
        }

        public void setLicenseName(String licenseName) {
            this.licenseName = licenseName;
        }

        public String getRegisterNo() {
            return registerNo;
        }

        public void setRegisterNo(String registerNo) {
            this.registerNo = registerNo;
        }

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getValidStart() {
            return validStart;
        }

        public void setValidStart(String validStart) {
            this.validStart = validStart;
        }

        public String getValidEnd() {
            return validEnd;
        }

        public void setValidEnd(String validEnd) {
            this.validEnd = validEnd;
        }
    }
}
